#include <iostream>
using namespace std;
#include <stack>

int main()
{
	//int arr[] = { 1, 2, 3 };
	////cout  << arr[0];
	//cout << sizeof(arr) / sizeof (int);
	stack<char> st;
	//st.push('a');
	//st.push('b');
	st.push('a');
	if (st.empty())
	{
		cout << "stack is empty!" << endl;
	}
	else{
		cout << st.top() << endl;
	}
	system("pause");
	return 0;
}